package com.gao.security.verificationcode.base;

import com.gao.security.verificationcode.common.vo.VerficationCodeGenerationDto;

/**
 * <p>
 *     验证码生成策略
 * </p>
 *
 * @author GaoShuangWen
 * @since 2019-07-30 11:03
 */
public interface KeyGenerationStrategy {

    /**
     *
     * @param dto
     * @return
     */
    String key(VerficationCodeGenerationDto dto);
}
